% George Samaras
% Converts pressure in dyn/cm^2 to dB re 20 muPa
% 
% Created: 09/15/2020
% Modified:

function P_Pascal = convertSPLtoPressureInPascals(SPL_in_dB)
Pref=20e-6;  %reference pressure for dB SPL, 20 ?Pa
P_Pascal = Pref*10.^(SPL_in_dB/20);
end